<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>inweo.widget.tabs test</title>
		<script src="../lib/mootools.js"></script>
		<script src="../inweo.js"></script>
		<script type="text/javascript">
			function main() {
				inweo.require("box");
				inweo.require("tabs");

				var page = new inweo.widgets.vbox(this);
				page.space(10);

				var tabs = new inweo.widgets.tabs();
				page.pack(tabs);
				
				var tabItem1 = new inweo.widgets.tabItem(tabs);
				tabItem1.text("first tab");
				
				var label1 = new inweo.widgets.label();
				label1.text("first tab contents");
				tabItem1.pack(label1);

				var tabItem2 = new inweo.widgets.tabItem(tabs);
				tabItem2.text("second tab");
				
				var label2 = new inweo.widgets.label();
				label2.text("second tab contents");
				tabItem2.pack(label2);
			}
		</script>
	</head>
	<body>
	</body>
</html>